.mgwt-TabBar {
	height: 48px;
	border-top: 1px solid black;
}

@if user.agent safari {
	.mgwt-TabBar {
		background-image: literal('-webkit-gradient(linear, left top, left bottom, from(rgb(46, 46, 46)), color-stop(50%,rgb(22, 22, 22)), color-stop(51%, rgb(0,0,0)), to(rgb(0,0,0)))');
	}
}

@if user.agent gecko1_8 {
	.mgwt-TabBar {
		background-image: literal('-moz-linear-gradient(top, rgb(46, 46, 46), rgb(22, 22, 22) 50%, rgb(0,0,0) 51%, rgb(0,0,0))');
	}
}

.mgwt-TabBar-Button {
	margin: 2px;
}

@if user.agent safari {
	.mgwt-TabBar-Button {
		\-webkit-border-radius: 3px;
	}
}

@if user.agent gecko1_8 {
	.mgwt-TabBar-Button {
		\-moz-border-radius: 3px;
		border-radius: 3px;
	}
}

.mgwt-TabBar-Button-selected {
	background-color: rgba(255, 255, 255, 0.15);
}

.mgwt-TabBar-Button-selected .mgwt-TabBar-Button-text {
	color: white;
}

.mgwt-TabBar-Button-text {
	font-size: 9px;
	color: #999995;
	text-align: center;
	z-index: 1;
	margin-top: -5px;
}

.mgwt-TabBar-Button-icon {
	margin-left: auto;
	margin-right: auto;
	z-index: 0;
}

@if user.agent safari {
	.mgwt-TabBar-Button-icon {
		background-image: literal('-webkit-gradient(linear, 30% 0%, 60% 70%, from(#ccc), to(#888))');
	}
}

@if user.agent safari {
	.mgwt-TabBar-Button-selected .mgwt-TabBar-Button-icon {
		background-image: literal('-webkit-gradient(linear, 30% 0%, 60% 70%,  from(#dee8f1), to(#3ec6f9), color-stop(0.6,#7ab3ed),color-stop(0.7,#2f92e6))');
	}
}

/*TODO icons in ff*/